<template>
  <div>
    <h3>{{ title }}</h3>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: '我是ref',
      username: '给父的'
    }
  },
  methods: {
    setSubTitle(msg) {
      this.title = msg
      return '你修改也要有值'
    }
  }
}
</script>

<style lang="scss" scoped></style>
